package com.aitoedu.server.mapper;

import com.aitoedu.server.entity.Sc;
import com.aitoedu.server.vo.MyQuestionVO;
import com.aitoedu.server.vo.StuCourseVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 曹正豪
* @description 针对表【sc(选课信息)】的数据库操作Mapper
* @createDate 2024-10-14 19:17:58
* @Entity com.aitoedu.server.entity.Sc
*/
@Mapper
public interface ScMapper extends BaseMapper<Sc> {
    List<Long> selectSidByCourseId(Long courseId);

    List<MyQuestionVO> getCidsNameBySid(Long sid);

    List<StuCourseVO> myCourse(Long sid);
}




